@charset "utf-8";
@import url("https://at.alicdn.com/t/font_3159971_ebxxv6n5ro.css");
@import url("../styles/reset.less");

.span-1() {
  float: left;
  margin-left: 14px;
  min-height: 1px;
}
@shadow: 0 15px 30px rgb(0 0 0 / 10%);
// header
#header {
  .up-nav {
    height: 40px;
    font-size: 12px;
    color: #b0b0b0;
    background: #333;

    .up-left {
      float: left;
      line-height: 40px;
      .app {
        position: relative;

        &:hover {
          .appcode {
            height: 148px;
            z-index: 1;
          }
        }
        .appcode {
          position: absolute;
          top: 40px;
          left: 50%;
          width: 124px;
          height: 0;
          background: #fff;
          margin-left: -55px;
          box-shadow: 0 1px 5px #aaa;
          text-align: center;
          font-size: 14px;
          color: #333;
          line-height: 1;
          overflow: hidden;
          transition: height 0.3s;
          img {
            display: block;
            margin: 18px auto 12px;
          }
        }
      }
    }

    .up-md {
      float: right;
      a {
        padding: 0 5px;
        text-align: center;
      }
      .sep {
        margin: 0;
      }
    }

    .up-right {
      float: right;
      width: 120px;
      height: 40px;
      margin-left: 15px;
      position: relative;
      &:hover {
        a {
          color: #ff6700;
        }
        .cart-menu {
          height: 100px;
        }
      }
      a {
        width: 120px;
        height: 40px;
        color: #b0b0b0;
        background: #424242;
        text-align: center;
      }
      .cart-menu {
        position: absolute;
        right: 0;
        top: 40px;
        z-index: 3;
        width: 316px;
        height: 0;
        color: #424242;
        background: #fff;
        box-shadow: 0 2px 10px rgb(0 0 0 / 15%);
        overflow: hidden;
        transition: height 0.3s;
      }
    }

    a {
      color: #b0b0b0;
      line-height: 40px;
      display: inline-block;
      &:hover {
        color: #fff;
      }
    }

    .sep {
      margin: 0 0.3em;
      color: #424242;
    }
  }

  .dw-nav {
    height: 100px;
    position: relative;

    .dw-left {
      float: left;
      position: relative;
      width: 62px;
      margin-top: 22px;

      .logo {
        display: block;
        width: 56px;
        height: 56px;
        overflow: hidden;
        &::before {
          position: absolute;
          left: 0;
          top: 0;
          width: 56px;
          height: 56px;
          content: "";
          background: url(../img/logo.png) no-repeat;
          background-size: 56px;
        }
        &::after {
          position: absolute;
          left: 0;
          top: 0;
          width: 56px;
          height: 56px;
          content: "";
        }
      }

      .ir {
        text-align: left;
        text-indent: -9999em;
      }
    }

    .dw-md {
      float: left;
      width: 850px;
      height: 100px;

      .list1 {
        z-index: 10;
        width: 1100px;
        height: 88px;
        margin: 0;
        padding: 12px 0 0 30px;
        list-style-type: none;
        font-size: 16px;

        .empty {
          float: left;
          width: 127px;
          height: 88px;
          padding-right: 15px;
          position: relative;
          .lt-br {
            width: 243px;
            height: 460px;
            z-index: 100;
            position: absolute;
            top: 89px;
            left: -92px;
            > .lt-text {
              height: 420px;
              padding: 20px 0;
              border: 0;
              color: #fff;
              background: rgba(105, 101, 101, 0.6);
              position: relative;

              > .sub {
                width: 243px;
                height: 42px;
                line-height: 42px;
                position: relative;
                &:hover {
                  background-color: #ff6700;
                }
                a {
                  display: inline-block;
                  width: 204px;
                  color: #fff;
                  padding: 0 0 0 30px;
                }
                i {
                  position: absolute;
                  right: 20px;
                  top: 0px;
                }
              }
              > .sub-content {
                width: 983px;
                height: 460px;
                background-color: #fff;
                position: absolute;
                top: 0px;
                left: 243px;
                box-shadow: @shadow;
                > .content {
                  height: 460px;
                  width: 1016px;
                  display: flex;

                  ul {
                    width: 248px;
                    height: 458px;
                    margin: 0;
                    padding: 2px 0;
                    li {
                      width: 265px;
                      height: 76px;
                      a {
                        display: inline-block;
                        width: 225px;
                        height: 40px;
                        padding: 18px 20px;
                        &:hover {
                          color: #ff6700;
                        }
                        img {
                          width: 40px;
                          height: 40px;
                          margin-right: 12px;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        li {
          float: left;
          a {
            display: block;
            padding: 26px 10px 38px;
            color: #333;
            &:hover {
              color: #ff6700;
            }
          }
        }
      }
      .nav-list {
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 999;
        width: 100%;
        height: 0;
        border-top: 1px solid #e0e0e0;
        background: #fff;
        overflow: hidden;
        box-shadow: @shadow;

        ol {
          width: 1200px;
          margin: 0 auto;
          transition: all 0.3s ease;

          li {
            width: 200px;
            height: 229px;
            float: left;
            text-align: center;

            p {
              color: #333;
              font-size: 16px;
            }

            span {
              display: block;
              color: #ff6700;
              font-size: 13px;
              margin-bottom: 35px;
            }

            img {
              display: block;
              width: 120px;
              margin: 25px auto 5px;
            }

            &::after {
              content: "";
              display: block;
              width: 1px;
              height: 150px;
              background-color: #757575;
              position: absolute;
              top: 25px;
            }
          }

          .first::after {
            display: none;
          }
        }
      }
    }

    .dw-right {
      float: right;
      width: 296px;
      margin-top: 25px;
      background-color: #fff;
      .search {
        position: relative;
        width: 296px;
        height: 50px;

        &:hover {
          .search-text {
            border-color: #b0b0b0;
          }
          .search-btn {
            border-color: #b0b0b0;
          }
        }
        .search-text {
          position: absolute;
          top: 0;
          border: 1px solid #e0e0e0;
          outline: 0;
          transition: all 0.2s;
          right: 51px;
          z-index: 1;
          width: 223px;
          height: 48px;
          padding: 0 10px;
          font-size: 14px;
          line-height: 48px;
        }
        .search-btn {
          right: 0;
          z-index: 2;
          width: 38px;
          height: 46px;
          padding: 1px 6px;
          font-size: 22px;
          line-height: 24px;
          background: #fff;
          color: #616161;
          position: absolute;
          top: 0;
          border: 1px solid #e0e0e0;
          outline: 0;
          text-align: center;
          cursor: pointer;
          transition: all 0.2s;
          &:hover {
            background-color: #ff6700;
            color: #fff;
          }
        }
      }
    }
  }
}

// banner

#banner {
  .container();
  .up {
    height: 460px;
    position: relative;
    .case-img {
      position: relative;
      width: 1226px;
      height: 460px;
      li {
        position: absolute;
        display: block;

        img {
          width: 100%;
        }
      }
    }
    .dot {
      position: absolute;
      width: 400px;
      height: 21px;
      left: auto;
      right: 30px;
      bottom: 20px;
      text-align: right;

      li {
        display: inline-block;
        width: 6px;
        height: 6px;
        margin: 0 4px;
        border: 2px solid #fff;
        border-color: hsla(0, 0%, 100%, 0.3);
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0.8;
        &:hover {
          background: hsla(0, 0%, 100%, 0.4);
          border-color: rgba(0, 0, 0, 0.4);
        }
      }
      .active {
        background: hsla(0, 0%, 100%, 0.4);
        border-color: rgba(0, 0, 0, 0.4);
      }
    }
    .btn {
      position: absolute;
      top: 50%;
      width: 41px;
      height: 69px;
      margin-top: -35px;
      cursor: pointer;
      outline: none;
      user-select: none;
    }
    #prev {
      background: url(../img/btn.png) no-repeat -84px 50%;
      left: 243px;
      right: auto;

      &:hover {
        background-position: 0px -50%;
      }
    }

    #next {
      background: url(../img/btn.png) no-repeat -125px 50%;
      right: 0;
      left: auto;

      &:hover {
        background-position: -42px 50%;
      }
    }
  }

  .dw {
    width: 1240px;
    height: 170px;
    margin: 14px 0 0 -14px;

    .span1 {
      width: 234px;
      .span-1();
      .list {
        width: 228px;
        height: 164px;
        padding: 3px;
        font-size: 12px;
        background: #5f5750;
        text-align: center;

        li {
          position: relative;
          width: 70px;
          height: 82px;
          padding: 0 3px;
          float: left;

          &::before {
            position: absolute;
            content: " ";
            background: #665e57;
            top: -1px;
            left: 6px;
            width: 64px;
            height: 1px;
          }
          &::after {
            position: absolute;
            content: " ";
            background: #665e57;
            top: 6px;
            left: 0;
            width: 1px;
            height: 70px;
          }
          a {
            display: block;
            padding-top: 18px;
            text-overflow: ellipsis;
            color: #fff;
            opacity: 0.7;
            &:hover {
              opacity: 1;
            }
            img {
              display: block;
              width: 24px;
              height: 24px;
              margin: 0 auto 4px;
            }
          }
        }
      }
    }
    .span2 {
      .span-1();
      width: 978px;
      > .list2 {
        margin: 0;
        padding: 0;
        > li {
          float: left;

          margin-left: 15px;
          a {
            display: inline-block;
            width: 316px;
            height: 170px;
            background: url(https://i1.mifile.cn/f/i/2014/cn/placeholder-80.png)
              no-repeat 50%;
            img {
              display: block;
              width: 316px;
              height: 170px;
            }
          }
        }
        .first {
          margin-left: 0;
        }
      }
    }
  }
}

// main
#main {
  background-color: #f5f5f5;
  padding-top: 4px;
  padding-bottom: 12px;

  .main-nav {
    height: 120px;
    margin: 22px 0;
    overflow: hidden;
    img {
      width: 100%;
    }
  }

  .main-content {
    margin-bottom: 8px;

    .main-content-nav {
      position: relative;
      height: 58px;
      .title {
        margin: 0;
        font-size: 22px;
        font-weight: 200;
        line-height: 58px;
        color: #333;
      }
      .more {
        position: absolute;
        top: 0;
        right: 0;
        .tab-list {
          margin: 0;
          padding: 16px 0 0;
          list-style-type: none;
          font-size: 16px;
          li {
            margin: 0 0 0 30px;
            display: inline-block;
            padding: 0;
            color: #424242;
            border-bottom: 2px solid #f5f5f5;
            border-bottom: 2px solid rgba(0, 0, 0, 0);
            cursor: pointer;
          }
          .item {
            color: #ff6700;
            border-bottom: 2px solid #ff6700;
          }
        }
        a {
          display: inline-block;
          font-size: 16px;
          line-height: 58px;
          color: #424242;
          &:hover {
            color: #ff6700;
          }
        }
      }
    }

    .video-list {
      width: 1240px;
      height: 285px;
      margin: 0;
      padding: 0;
      transition: all 0.2s linear;
      li:first-child {
        margin-left: 0;
      }
      .video-item {
        position: relative;
        float: left;
        width: 296px;
        height: 285px;
        margin-left: 14px;
        margin-bottom: 14px;
        text-align: center;
        background: #fff;
        .img {
          position: relative;
          width: 296px;
          height: 180px;
          margin: 0 0 28px;
          img {
            width: 100%;
          }
        }
        .title {
          margin: 0 14px 6px;
          font-size: 14px;
          font-weight: 400;
          text-align: center;
          color: #333;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }
        .desc {
          display: inline-block;
          height: 18px;
          margin: 0 14px;
          font-size: 12px;
          color: #b0b0b0;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }
        &:hover {
          box-shadow: @shadow;
        }
      }
    }

    .row {
      margin-left: -14px;
      .span3 {
        .span-1();
        width: 234px;
        .list3 {
          margin: 0 0 -14px -14px;
          height: 614px;
          padding: 0;
          li {
            height: 614px;
            position: relative;
            float: left;
            width: 234px;
            margin-left: 14px;

            background: #fff;
            a {
              display: block;
              img {
                width: 100%;
              }
            }
          }
        }
        &:hover {
          box-shadow: @shadow;
        }
      }
      .span4 {
        .span-1();
        width: 978px;
        .list4 {
          margin: 0 0 -14px -14px;
          width: 992px;
          // height: 614px;
          padding: 0;

          li {
            height: 300px;
            padding: 0;
            position: relative;
            float: left;
            width: 234px;
            margin-left: 14px;
            margin-bottom: 14px;
            background: #fff;
            &:hover {
              box-shadow: @shadow;
            }

            a {
              display: block;
              height: 100%;
              box-sizing: border-box;
              padding: 20px 0;

              .img {
                width: 160px;
                height: 160px;
                margin: 0 auto 18px;
                img {
                  width: 100%;
                }
              }
              .title {
                margin: 0 10px 2px;
                text-align: center;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                font-size: 14px;
                font-weight: 400;
                color: #333;
              }
              .desc {
                margin: 0 10px 10px;
                height: 18px;
                font-size: 12px;
                color: #b0b0b0;
                text-align: center;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
              }
              .price {
                margin: 0 10px 14px;
                text-align: center;
                color: #ff6700;
              }
            }
          }
        }
      }
    }
  }
}
// footer
#footer {
  .footer-top {
    .top {
      padding: 27px 0;
      border-bottom: 1px solid #e0e0e0;
      .list-service {
        :first-child {
          border-left: 0;
        }
        li {
          float: left;
          width: 19.8%;
          height: 25px;
          border-left: 1px solid #e0e0e0;
          font-size: 16px;
          line-height: 25px;
          text-align: center;
          a {
            color: #616161;
            i {
              margin-right: 6px;
              font-size: 24px;
              line-height: 24px;
              vertical-align: -4px;
            }
            &:hover {
              color: #ff6700;
            }
          }
        }
      }
    }

    .message {
      padding: 40px 0;
      height: 172.5px;
      .col-links {
        float: left;
        width: 160px;
        margin: 0;
        dt {
          margin: -1px 0 26px;
          font-size: 14px;
          line-height: 1.25;
          color: #424242;
        }
        dd {
          margin: 10px 0 0;
          font-size: 12px;
          a {
            color: #757575;
            &:hover {
              color: #ff6700;
            }
          }
        }
      }
      .message-right {
        float: right;
        width: 251px;
        border-left: 1px solid #e0e0e0;
        text-align: center;
        color: #616161;
        .phone {
          font-size: 22px;
          line-height: 1;
          color: #ff6700;
        }
        p {
          margin: 0 0 5px 0;
          font-size: 12px;
        }
        .primary {
          display: inline-block;
          width: 118px;
          height: 28px;
          font-size: 12px;
          line-height: 28px;
          background: #fff;
          color: #ff6700;
          border: 1px solid#ff6700;
          text-align: center;
          &:hover {
            background-color: #ff6700;
            color: #fff;
          }
        }
        .follow {
          font-size: 12px;
          margin-top: 10px;
          position: relative;
          text-align: center;
          a {
            width: 24px;
            height: 24px;

            vertical-align: middle;
            margin-left: 6px;
            margin-top: -3px;
            .iconfont {
              font-size: 24px;
            }
            img {
              width: 126px;
              height: 126px;
              z-index: 9999;
              position: absolute;
              top: 24px;
              left: 100px;
              display: none;
            }
            &:hover {
              img {
                display: block;
                box-shadow: @shadow;
              }
            }
          }
        }
      }
    }
  }

  .footer-init {
    padding: 30px 0;
    font-size: 12px;
    background: #fafafa;
    .container {
      height: 205.6px;
      position: relative;
      .log-ir {
        width: 56px;
        height: 56px;
        display: block;
        text-align: left;
        text-indent: -9999em;
        overflow: hidden;
        margin-right: 20px;
        background: url(../img/214.png) no-repeat;
        background-size: 56px;
        position: absolute;
        top: 0;
        left: 0;
      }
      .info-text {
        color: #b0b0b0;
        padding-left: 77px;
        font-size: 12px;
        p {
          margin: 0;
          line-height: 18px;
          a {
            color: #757575;
            &:hover {
              color: #ff6700;
            }
          }
        }
      }
      .info-links {
        height: 28px;
        margin: 4px 0 15px;
        padding-left: 77px;
        a {
          display: inline-block;
          img {
            width: auto;
            height: 28px;
            margin-left: 0;
          }
        }
      }
    }
    .slogan {
      clear: both;
      margin: 30px auto 0;
      width: 100%;
      height: 19px;
      background: url(../img/221.png) no-repeat center 0;
      display: block;
      text-align: left;
      text-indent: -9999em;
      overflow: hidden;
    }
  }
}

//悬浮窗
.fix-box {
  position: fixed;
  bottom: 70px;
  right: 0;
  z-index: 999999;
  a {
    display: block;
    width: 82px;
    height: 90px;
    color: #757575;
    background: #fff;
    border: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.4s;
    &:hover {
      color: #ff6700;
      div {
        opacity: 1;
        visibility: visible;
      }
    }
    div {
      position: absolute;
      left: -140px;
      top: 0;
      width: 124px;
      color: #333;
      background: #fff;
      z-index: 99;
      border: 1px solid #f5f5f5;
      transition: all 0.5s;
      opacity: 0;
      visibility: hidden;
      img {
        display: block;
        width: 90px;
        height: 90px;
        margin: 18px auto 12px;
      }
      span {
        display: block;
        width: 82px;
        text-align: center;
        line-height: 20px;
        color: #757575;
        margin: 14px auto;
      }
    }
    i {
      font-size: 32px;
    }
  }
  .backtop {
    display: none;
    margin-top: 14px;
  }
}
